package com.venutech.gongan.entity;

import lombok.Data;

import java.util.Date;

/**
 * 用户实体
 */
@Data
public class User {
    //用户ID
    private Integer user_id;

    //登录名
    private String login_user_name;

    //登录密码
    private String login_password;

    private String nick_name;

    private Integer locked;

    private String image_name;

    private String employee_no;

    //用户类型：0 保留用户，1管理员，2民警
    private Integer user_type;

    private String create_by;

    private Date create_time;

    private String update_by;

    private Date update_time;

    private String user_area;

    private String id_No;

    private String work_unit_Name;

    private String work_unit_Code;

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", login_user_name='" + login_user_name + '\'' +
                ", login_password='" + login_password + '\'' +
                ", nick_name='" + nick_name + '\'' +
                ", locked=" + locked +
                ", image_name='" + image_name + '\'' +
                ", employee_no='" + employee_no + '\'' +
                ", user_type=" + user_type +
                ", create_by='" + create_by + '\'' +
                ", create_time=" + create_time +
                ", update_by='" + update_by + '\'' +
                ", update_time=" + update_time +
                ", user_area='" + user_area + '\'' +
                ", id_No='" + id_No + '\'' +
                ", work_unit_Name='" + work_unit_Name + '\'' +
                ", work_unit_Code='" + work_unit_Code + '\'' +
                '}';
    }
}
